Skip to content

fix(catalogue): keep a bundled entry's proofs apart instead of copying the entry - #643

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/bundled-proofs
Dec 1, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/bundled-proofs

Conversation

@harenome

@harenome harenome commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Closes #367

What

  • A bundled entry's proof goes to proofs/<group>/<key>/proofs.json in the user data directory, copying nothing.
  • Each version there replaces the bundled one; an undeclared one stays, unread.
  • Use bundled entry keeps the copy's proofs that differ from the bundle's; one equal to the shipped proof drops its earlier override. It refuses, keeping the copy, when they cannot fit or cannot be written; the page names versions and file.
  • An edit, logo included, copies the entry with these proofs.
  • A host gets them in the entry's proofs.json; an entry refused here is not sent.
  • Proof save, copy and restore share a lock per entry.

Touches

  • standard/contract, runner/payload.py, catalogue, paths.py, docs, import-standard
  • web/catalogue.py: no command has this action

Verified

  • Backend (3610) and route (959) suites pass; docs drift: 0.

Risk

  • A proof ending after its entry was copied is refused.

Agents

  • Claude Code, Opus 5.5
  • Claude Code, Fable 5.2
  • Codex, GPT-6.2-Astra

…g the entry

A proof of a bundled entry is written to proofs/<group>/<key>/proofs.json in the user data directory, its version alone, and read over the bundled evidence. The entry is still read from the bundle. A version the bundle does not declare stays in that file, unread.

Use bundled entry keeps the proofs a user copy held, and keeps the copy when the bundled entry cannot take them or they cannot be written. An edit writes them into the copy; a host is sent them in the entry's one document, or not the entry when it is refused here. Proof save, copy and restore share one lock per entry.

Closes ThinkFlowLab#367
@harenome
harenome marked this pull request as ready for review December 1, 2026 21:30
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 1, 2026
@harenome
harenome merged commit 2a31a80 into ThinkFlowLab:main Dec 1, 2026
6 checks passed
@harenome
harenome deleted the fix/bundled-proofs branch December 1, 2026 21:42
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recording a proof on a bundled entry copies the whole entry into the user catalogue, which then stops following bundled updates

1 participant